package com.yuanfeng.userms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @ClassName UserUploadBaseEntity
 * @Description 用户附件表-图片、视频
 * @Author cf
 * @Date 2023/6/29 9:16
 * @Version 1.0
 */
@TableName("user_upload_base")
@Data
public class UserUploadBaseEntity {

    /**
     * 商品图片Id
     */
    @TableId(type = IdType.AUTO)
    private Integer uploadId;
    private Integer albumId;
    /**
     * 用户id
     */
    private String userId;
    /**
     * 店铺id
     */
    private Integer shopId;
    private String uploadUrlPrefix;
    private String uploadPath;
    /**
     * 附件的url   upload_url = upload_url_prefix  + upload_path
     */
    private String uploadUrl;
    /**
     * JSON存储其它尺寸
     */
    private String uploadThumbs;
    /**
     * 原附件
     */
    private String uploadOriginal;
    /**
     * 源头-网站抓取
     */
    private String uploadSource;
    /**
     * 排序
     */
    private Integer uploadDisplayorder;
    /**
     * image|video|
     */
    private String uploadType;
    /**
     * 规格
     */
    private Integer uploadImageSpec;
    /**
     * 原文件大小
     */
    private Integer uploadSize;
    /**
     * 上传的附件类型
     */
    private String uploadMimeType;
    private String uploadMetadata;
    /**
     * 附件标题
     */
    private String uploadName;
    /**
     * 附件日期
     */
    private Integer uploadTime;


}
